home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
util
/
gnu
/
emacs_src.lha
/
emacs-18.58
/
lisp
/
files.elc
< prev
next >
Wrap
Text File
|
1992-05-31
|
32KB
|
476 lines
(defconst delete-auto-save-files t "\
*Non-nil means delete a buffer's auto-save file
when the buffer is saved for real.")
(defconst make-backup-files (not (eq system-type (quote vax-vms))) "\
*Create a backup of each file when it is saved for the first time.
This can be done by renaming the file or by copying.
Renaming means that Emacs renames the existing file so that it is a
backup file, then writes the buffer into a new file. Any other names
that the old file had will now refer to the backup file.
The new file is owned by you and its group is defaulted.
Copying means that Emacs copies the existing file into the backup file,
then writes the buffer on top of the existing file. Any other names
that the old file had will now refer to the new (edited) file.
The file's owner and group are unchanged.
The choice of renaming or copying is controlled by the variables
backup-by-copying, backup-by-copying-when-linked and
backup-by-copying-when-mismatch.")
(defconst backup-by-copying nil "\
*Non-nil means always use copying to create backup files.
See documentation of variable make-backup-files.")
(defconst backup-by-copying-when-linked nil "\
*Non-nil means use copying to create backups for files with multiple names.
This causes the alternate names to refer to the latest version as edited.
This variable is relevant only if backup-by-copying is nil.")
(defconst backup-by-copying-when-mismatch nil "\
*Non-nil means create backups by copying if this preserves owner or group.
Renaming may still be used (subject to control of other variables)
when it would not result in changing the owner or group of the file;
that is, for files which are owned by you and whose group matches
the default for a new file created there by you.
This variable is relevant only if backup-by-copying is nil.")
(defconst buffer-offer-save nil "\
*Non-nil in a buffer means offer to save the buffer on exit
even if the buffer is not visiting a file. Automatically local in
all buffers.")
(make-variable-buffer-local (quote buffer-offer-save))
(defconst file-precious-flag nil "\
*Non-nil means protect against I/O errors while saving files.
Some modes set this non-nil in particular buffers.")
(defvar version-control nil "\
*Control use of version numbers for backup files.
t means make numeric backup versions unconditionally.
nil means make them for files that have some already.
never means do not make them.")
(defvar dired-kept-versions 2 "\
*When cleaning directory, number of versions to keep.")
(defvar trim-versions-without-asking nil "\
*If true, deletes excess backup versions silently.
Otherwise asks confirmation.")
(defvar kept-old-versions 2 "\
*Number of oldest versions to keep when a new numbered backup is made.")
(defvar kept-new-versions 2 "\
*Number of newest versions to keep when a new numbered backup is made.
Includes the new backup. Must be > 0")
(defconst require-final-newline nil "\
*t says silently put a newline at the end whenever a file is saved.
Non-nil but not t says ask user whether to add a newline in each such case.
nil means don't add newlines.")
(defconst auto-save-default t "\
*t says by default do auto-saving of every file-visiting buffer.")
(defconst auto-save-visited-file-name nil "\
*t says auto-save a buffer in the file it is visiting, when practical.
Normally auto-save files are written under other names.")
(defconst save-abbrevs nil "\
*Non-nil means save word abbrevs too when files are saved.
Loading an abbrev file sets this to t.")
(defconst find-file-run-dired t "\
*Non-nil says run dired if find-file is given the name of a directory.")
(defvar find-file-not-found-hooks nil "\
List of functions to be called for find-file on nonexistent file.
These functions are called as soon as the error is detected.
buffer-file-name is already set up.
The functions are called in the order given,
until one of them returns non-nil.")
(defvar find-file-hooks nil "\
List of functions to be called after a buffer is loaded from a file.
The buffer's local variables (if any) will have been processed before the
functions are called.")
(defvar write-file-hooks nil "\
List of functions to be called before writing out a buffer to a file.
If one of them returns non-nil, the file is considered already written
and the rest are not called.")
(defconst inhibit-local-variables nil "\
*Non-nil means query before obeying a file's local-variables list.
This applies when the local-variables list is scanned automatically
after you find a file. If you explicitly request such a scan with
\\[normal-mode], there is no query, regardless of this variable.")
(defconst ignore-local-eval nil "\
*Non-nil means ignore the \"variable\" `eval' in a file's local variables.
This applies when the local-variables list is scanned automatically
after you find a file. If you explicitly request such a scan with
\\[normal-mode], there is no query, regardless of this variable.")
(defconst backup-char (if (eq system-type (quote amigados)) "!" "~") "\
Character to add to file names to make backup names.")
(defconst autosave-char (if (eq system-type (quote amigados)) "@" "#") "\
Character to add to file names to make autosave names.")
(defconst bufferfile-char (if (eq system-type (quote amigados)) "^" "%") "\
Character to add to buffer names to make file names.")
(or (fboundp (quote lock-buffer)) (fset (quote lock-buffer) (quote ignore)))
(or (fboundp (quote unlock-buffer)) (fset (quote unlock-buffer) (quote ignore)))
(defun pwd nil "\
Show the current default directory." (interactive nil) (byte-code "ÀÂÃ \"" [nil default-directory message "Directory %s"] 3))
(defun cd (dir) "\
Make DIR become the current buffer's default directory." (interactive "DChange default directory: ") (byte-code "ÃÄ! Å=? Æ!Ç!?# ÈÉ\"&